package com.erp.erp_entitys.business.rsp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : ImportCarryPlanPartsRsp
 * @Description : 导出运计划配件出参实体
 * @Author : lst
 * @Date: 2021-03-15 01:37
 */
public class ImportCarryPlanPartsRsp implements Serializable {
    private static final long serialVersionUID = 5991962632318771631L;

    /**
     * 主键
     */
    private Integer id;
    /**
     * 规格编码
     */
    private String specNo;
    /**
     * 配件编码
     */
    private String partsCode;
    /**
     * 中文名称
     */
    private String productCname;
    /**
     * 英文名称
     */
    private String productEname;
    /**
     * 成品比例
     */
    private BigDecimal proportionFinishedProducts;
    /**
     * 配件比例
     */
    private BigDecimal partsFinishedProducts;
    /**
     * 配件数量
     */
    private BigDecimal partsAmount;
    /**
     * 成本单价
     */
    private BigDecimal costUnitPrice;
    /**
     * 成本小计
     */
    private BigDecimal costSubtotal;
    /**
     * 毛重
     */
    private BigDecimal grossWeight;
    /**
     * 净重
     */
    private BigDecimal netWeight;
    /**
     * 体积
     */
    private BigDecimal bulk;
    /**
     * 采购单号
     */
    private String contractPurchaseNumber;
    /**
     * 供应商编码
     */
    private String supplierId;
    /**
     * 供应商名称
     */
    private String supplierName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSpecNo() {
        return specNo;
    }

    public void setSpecNo(String specNo) {
        this.specNo = specNo;
    }

    public String getPartsCode() {
        return partsCode;
    }

    public void setPartsCode(String partsCode) {
        this.partsCode = partsCode;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public BigDecimal getProportionFinishedProducts() {
        return proportionFinishedProducts;
    }

    public void setProportionFinishedProducts(BigDecimal proportionFinishedProducts) {
        this.proportionFinishedProducts = proportionFinishedProducts;
    }

    public BigDecimal getPartsFinishedProducts() {
        return partsFinishedProducts;
    }

    public void setPartsFinishedProducts(BigDecimal partsFinishedProducts) {
        this.partsFinishedProducts = partsFinishedProducts;
    }

    public BigDecimal getPartsAmount() {
        return partsAmount;
    }

    public void setPartsAmount(BigDecimal partsAmount) {
        this.partsAmount = partsAmount;
    }

    public BigDecimal getCostUnitPrice() {
        return costUnitPrice;
    }

    public void setCostUnitPrice(BigDecimal costUnitPrice) {
        this.costUnitPrice = costUnitPrice;
    }

    public BigDecimal getCostSubtotal() {
        return costSubtotal;
    }

    public void setCostSubtotal(BigDecimal costSubtotal) {
        this.costSubtotal = costSubtotal;
    }

    public BigDecimal getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(BigDecimal grossWeight) {
        this.grossWeight = grossWeight;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public BigDecimal getBulk() {
        return bulk;
    }

    public void setBulk(BigDecimal bulk) {
        this.bulk = bulk;
    }

    public String getContractPurchaseNumber() {
        return contractPurchaseNumber;
    }

    public void setContractPurchaseNumber(String contractPurchaseNumber) {
        this.contractPurchaseNumber = contractPurchaseNumber;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ImportPlanPartsInfoReq").append('[')
                .append("id=")
                .append(id)
                .append(",specNo=")
                .append(specNo)
                .append(",partsCode=")
                .append(partsCode)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",proportionFinishedProducts=")
                .append(proportionFinishedProducts)
                .append(",partsFinishedProducts=")
                .append(partsFinishedProducts)
                .append(",partsAmount=")
                .append(partsAmount)
                .append(",costUnitPrice=")
                .append(costUnitPrice)
                .append(",costSubtotal=")
                .append(costSubtotal)
                .append(",grossWeight=")
                .append(grossWeight)
                .append(",netWeight=")
                .append(netWeight)
                .append(",bulk=")
                .append(bulk)
                .append(",contractPurchaseNumber=")
                .append(contractPurchaseNumber)
                .append(",supplierId=")
                .append(supplierId)
                .append(",supplierName=")
                .append(supplierName)
                .append(']');
        return sb.toString();
    }
}
